package com.kingschan.jeasytag.tag.tree;
import java.util.List;
import org.json.JSONObject;

/**
 * ���ؼ������������ģ��
 * @author kingschan
 *date:2013-5-20
 */
public class TreeGenericBean {
	
	private String id;//�󶨵��ڵ�ı�ʶֵ. 
	private String text;//��ʾ�ı�. 
	private String iconCls;// ��ʾicon��css��ʽ. 
	private Boolean checked;// �ڵ��Ƿ�ѡ��. 
	private Boolean state;// �ڵ�״̬, 'open' ���� 'closed'. 
	private JSONObject attributes;// �󶨵��ڵ���Զ�������. 
	private String target;// Ŀ�� DOM ����. 
	private List<TreeGenericBean> children;//�ӽڵ�
	
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public Boolean getChecked() {
		return checked;
	}
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
	public Boolean getState() {
		return state;
	}
	public void setState(Boolean state) {
		this.state = state;
	}
	public JSONObject getAttributes() {
		return attributes;
	}
	public void setAttributes(JSONObject attributes) {
		this.attributes = attributes;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public List<TreeGenericBean> getChildren() {
		return children;
	}
	public void setChildren(List<TreeGenericBean> children) {
		this.children = children;
	}
	
	
	
	
}
